package com.jtp7.demo.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jtp7.demo.entity.Permission;
import com.jtp7.demo.entity.User;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-08-05
 */


@Repository
public interface UserMapper extends BaseMapper<User> {


    User selectById(String username);


    List<Permission> selectPermissioin(String username);
}
